﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MMSView.aspx.cs" Inherits="Hkwl.WorldExpo.Merchant.Web.MMSView" culture="auto" meta:resourcekey="PageResource2" uiculture="auto" %>

<%@ Register Src="ShowLoginInfo.ascx" TagName="ShowLoginInfo" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>E-Coupon商家系统 - 创建彩信</title>
    <link type="text/css" href="css/custom-theme/jquery-ui-1.8.custom.css" rel="stylesheet" />
    <link href="Css/style.css" rel="stylesheet" type="text/css" />
    <link type="text/css" href="css/jquery.alerts.css" rel="stylesheet" />

    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>

    <script type="text/javascript" src="js/jquery-ui-1.8.custom.min.js"></script>

    <script src="Js/jquery.alerts.js" type="text/javascript"></script>

    <script type="text/javascript">
			$(function() {
				$("#accordion").accordion({
				header:"h3",						  
				autoHeight: false,
				navigation: true,
				active: 2
				});
				
				$(".ui-button:not(.ui-state-disabled)")
				.hover(
					function(){ 
						$(this).addClass("ui-state-hover"); 
					},
					function(){ 
						$(this).removeClass("ui-state-hover"); 
					}
				)
				
				var dates = $('#txtStartTime, #txtEndTime').datepicker({
				dateFormat: 'yy-mm-dd',
				defaultDate: "+1w",
				changeMonth: true,
				//numberOfMonths: 3,
				onSelect: function(selectedDate) {
					var option = this.id == "txtStartTime" ? "minDate" : "maxDate";
					var instance = $(this).data("datepicker");
					var date = $.datepicker.parseDate(instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings);
					dates.not(this).datepicker("option", option, date);
				}
			  });
			});
    </script>

</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnFinish">
    <div>
        <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0" class="login_boder">
            <tr>
                <td width="231" rowspan="3" align="center">
                    <img src="Css/custom-theme/images/logo.png" width="231" height="94" />
                </td>
                <td width="568" rowspan="3" align="center">
                    <span class="login_title"><asp:Literal ID="ltTitle" runat="server" Text="<%$ Resources:Default,TITLE %>"></asp:Literal></span>
                </td>
                <td height="10" colspan="5" align="center">&nbsp;
                    
                </td>
            </tr>
            <tr>
                <td width="139" height="32" align="right">&nbsp;
                    </td>
                <td width="28" align="center">&nbsp;
                    </td>
                <td width="10" align="center">&nbsp;
                    
                </td>
                <td width="29" align="center">&nbsp;
                    </td>
                <td width="19" align="center">&nbsp;
                    
                </td>
            </tr>
            <tr>
                <td height="17" colspan="5" align="center">
                    <uc1:ShowLoginInfo ID="ShowLoginInfo1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="7" align="center">
                    <img src="Css/custom-theme/images/login_1.png" width="1024" height="4" />
                </td>
            </tr>
            <tr>
                <td height="674" colspan="7" align="center" valign="top" style="background: url(Css/custom-theme/images/login_3.png) no-repeat bottom;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="45" colspan="4">&nbsp;
                                
                            </td>
                        </tr>
                        <tr>
                            <td width="20">&nbsp;
                                
                            </td>
                            <td width="263" align="left" valign="top">
                                <div id="accordion">
                <div>
                  <h3><a href="#"><asp:Literal ID="lt1" runat="server"  Text="<%$ Resources:Default,PROFILE_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ModifyInfo.aspx"><asp:Literal ID="lt2" runat="server" Text="<%$ Resources:Default,MODIFY_PROFILE_INFORMATION %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ModifyPassword.aspx"><asp:Literal ID="lt3" runat="server" Text="<%$ Resources:Default,MODIFY_PASSWORD %>"></asp:Literal></a></div>
                  </div>
                </div>
                <div>
                  <h3><a href="#"><asp:Literal ID="lt4" runat="server" Text="<%$ Resources:Default,CUSTOMER_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ClientCreate.aspx"><asp:Literal ID="lt5" runat="server" Text="<%$ Resources:Default,ADD_CUSTOMER %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ClientList.aspx"><asp:Literal ID="lt6" runat="server" Text="<%$ Resources:Default,MANAGE_CUSTOMER %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="GroupCreate.aspx"><asp:Literal ID="lt7" runat="server" Text="<%$ Resources:Default,QUICK_ADD_CUSTOMER_GROUP %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="GroupList.aspx"><asp:Literal ID="lt8" runat="server" Text="<%$ Resources:Default,MANAGE_CURRENT_CUSTOMER_GROUPS %>"></asp:Literal></a></div>
                  </div>
                </div>
                <div>
                  <h3><a href="#"><asp:Literal ID="lt9" runat="server" Text="<%$ Resources:Default,CAMPAIGN_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ProjectCreate.aspx"><asp:Literal ID="lt10l" runat="server" Text="<%$ Resources:Default,QUICK_LAUNCH_COUPON_CAMPAIGN %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ProjectList.aspx"><asp:Literal ID="lt11" runat="server" Text="<%$ Resources:Default,MANAGE_COUPON_CAMPAIGN %>"></asp:Literal></a></div>
                  </div>
                </div>
                <div>
                  <h3><a href="#"><asp:Literal ID="lt12" runat="server" Text="<%$ Resources:Default,STATISTICS_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ClientStatistics.aspx"><asp:Literal ID="lt13" runat="server" Text="<%$ Resources:Default,STATISTICS_BY_CUSTOMER %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ProjectStatistics.aspx"><asp:Literal ID="lt14" runat="server" Text="<%$ Resources:Default,STATISTICS_BY_CAMPAIGN %>"></asp:Literal></a></div>
                  </div>
                </div>
              </div>
                            </td>
                            <td width="20">&nbsp;
                                
                            </td>
                            <td width="708" valign="top">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td height="190" align="center" valign="top">
                                            <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
                                                <tr>
                                                    <td height="25" colspan="2" align="center" bgcolor="#663399" style="color: #FFF;">
                                                        <asp:Localize ID="Localize1" runat="server" 
                                                            meta:resourcekey="Localize1Resource1" Text="其它设置参数"></asp:Localize>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="30" align="right" bgcolor="#FFFFFF">
                                                        <asp:Localize ID="Localize2" runat="server" 
                                                            meta:resourcekey="Localize2Resource1" Text="标题："></asp:Localize>
                                                    </td>
                                                    <td align="center" bgcolor="#FFFFFF">
                                                        <asp:Label ID="lbMSSTitle" runat="server" 
                                                            meta:resourcekey="lbMSSTitleResource1"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="32%" height="30" align="right" bgcolor="#FFFFFF">
                                                        <asp:Localize ID="Localize3" runat="server" 
                                                            meta:resourcekey="Localize3Resource1" Text="当前页数："></asp:Localize>
                                                    </td>
                                                    <td width="79%" align="center" bgcolor="#FFFFFF">
                                                        <asp:Localize ID="Localize4" runat="server" 
                                                            meta:resourcekey="Localize4Resource1" Text=" 第"></asp:Localize>
                                                        <asp:Label ID="lbMmsPage" runat="server" meta:resourcekey="lbMmsPageResource1"></asp:Label>
                                                        /
                                                        <asp:Label ID="lbMmsPageCount" runat="server" 
                                                            meta:resourcekey="lbMmsPageCountResource1"></asp:Label>
                                                        <asp:Localize ID="Localize5" runat="server" 
                                                            meta:resourcekey="Localize5Resource1" Text=" 页"></asp:Localize>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="30" align="right" bgcolor="#FFFFFF">
                                                        <asp:Localize ID="Localize6" runat="server" 
                                                            meta:resourcekey="Localize6Resource1" Text="文字位置："></asp:Localize>
                                                    </td>
                                                    <td align="center" bgcolor="#FFFFFF">
                                                        <asp:Label ID="lbMmsPosition" runat="server" 
                                                            meta:resourcekey="lbMmsPositionResource1"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="30" align="right" bgcolor="#FFFFFF">
                                                        <asp:Localize ID="Localize7" runat="server" 
                                                            meta:resourcekey="Localize7Resource1" Text="延时："></asp:Localize>
                                                    </td>
                                                    <td align="center" bgcolor="#FFFFFF">
                                                        <asp:Label ID="lbDelayTime" runat="server" 
                                                            meta:resourcekey="lbDelayTimeResource1"></asp:Label>
                                                        <asp:Localize ID="Localize8" runat="server" 
                                                            meta:resourcekey="Localize8Resource1" Text="秒"></asp:Localize>
                                                    </td>
                                                </tr>
                                            </table>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td height="50" align="center">
                                                        <asp:Button ID="btnModify" runat="server" Text="返回修改" CssClass="ui-button ui-state-default ui-corner-all"
                                                            OnClick="btnModify_Click" meta:resourcekey="btnModifyResource1" />
                                                        <asp:Button ID="btnFinish" runat="server" Text="保存" CssClass="ui-button ui-state-default ui-corner-all"
                                                            OnClick="btnSaveMMS_Click" meta:resourcekey="btnFinishResource1" />
                                                        <asp:Button ID="btnCreateNextPage" runat="server" Text="添加新页" CssClass="ui-button ui-state-default ui-corner-all"
                                                            OnClick="btnCreateNextPage_Click" 
                                                            meta:resourcekey="btnCreateNextPageResource1" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="50" align="center">
                                                        <asp:Button ID="btnPrevPage" runat="server" CssClass="ui-button ui-state-default ui-corner-all"
                                                            Text="上一页" OnClick="btnPrevPage_Click" Visible="False" 
                                                            meta:resourcekey="btnPrevPageResource1" />
                                                        <asp:Button ID="btnNextPage" runat="server" CssClass="ui-button ui-state-default ui-corner-all"
                                                            Text="下一页" OnClick="btnNextPage_Click" Visible="False" 
                                                            meta:resourcekey="btnNextPageResource1" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="20" rowspan="2" valign="top">&nbsp;
                                            
                                        </td>
                                        <td width="300" rowspan="2">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="background: url(Css/custom-theme/images/phone_bg.png) no-repeat;">
                                                <tr>
                                                    <td height="560" valign="top">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td height="92" colspan="3">&nbsp;
                                                                    
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td width="8%" height="19">&nbsp;
                                                                    
                                                                </td>
                                                                <td width="84%" align="center">&nbsp;
                                                                    
                                                  </td>
                                                                <td width="8%">&nbsp;
                                                                    
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td height="336">&nbsp;
                                                                    
                                                                </td>
                                                                <td align="left" valign="top">
                                           	     		    <iframe width="100%" src="ShowMms.aspx?MmsId=<%=mmsId%>" height="336" scrolling="auto" frameborder="0"></iframe></td>
                                                                <td>&nbsp;
                                                                    
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="3">&nbsp;
                                                                    
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="18" rowspan="2">&nbsp;
                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="377" height="307" align="center" valign="middle">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
